#include "trap.h"
	.text
	.align	2
	.globl	main
	.set	nomips16
	.set	nomicromips
	.ent	main
	.type	main, @function
main:
	.frame	$fp,40,$31		# vars= 32, regs= 1/0, args= 0, gp= 0
	.mask	0x40000000,-4
	.fmask	0x00000000,0
	.set	noreorder
	.set	nomacro
	addiu	$sp,$sp,-40
	sw	$fp,36($sp)
	move	$fp,$sp
	li	$2,287440896			# 0x11220000
	ori	$2,$2,0x3344
	sw	$2,0($fp)
	li	$2,3			# 0x3
	sw	$2,4($fp)
	lw	$3,0($fp)
	lw	$2,4($fp)
	mult	$3,$2
	mflo	$2
	sw	$2,12($fp)
	mflo	$3
	sra	$2,$3,31
	sw	$2,8($fp)
	lw	$2,8($fp)
	bne	$2,$0,.L2
	nop

	lw	$3,12($fp)
	li	$2,862322688			# 0x33660000
	ori	$2,$2,0x99cc
	bne	$3,$2,.L2
	nop

	li	$2,46			# 0x2e
	sw	$2,16($fp)
	li	$2,3			# 0x3
	sw	$2,20($fp)
	lw	$3,16($fp)
	lw	$2,20($fp)
	div	$0,$3,$2
	mfhi	$2
	mflo	$2
	sw	$2,24($fp)
.L2:
	move	$2,$0
	move	$sp,$fp
	lw	$fp,36($sp)
	addiu	$sp,$sp,40
	#j	$31
    HIT_GOOD_TRAP
	nop
